package com.bosssoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bosssoft.entity.po.FibBankPO;
import org.apache.ibatis.annotations.Update;

/**
 * @author 项昊天
 * @create 2021/8/17 16:41
 */
public interface FibBankMapper extends BaseMapper<FibBankPO> {

  @Update("UPDATE fib_bank \n" +
          "SET deleted = #{status} \n" +
          "WHERE bank_id = #{bankId} ")
  int banBankById(Long bankId, Integer status);
}